<template>
  <div class="env-name" v-if="showEnvName">{{ envName }}</div>
</template>
<script>
export default {
  data() {
    return {
      showEnvName: process.env.VUE_APP_ENV_NAME !== 'PRD',
      envName: process.env.VUE_APP_ENV_NAME
    }
  }
}
</script>
<style lang="scss" scoped>
.env-name {
  text-align: center;
  margin-top: 10px;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 1px 1px 3px #a1a1a1;
  font-size: 20px;
}
</style>
